#ifndef __DL_EH__
#define __DL_EH__
#include "Type_Define.h"
//test git 2

typedef enum{
  EH_Inactive_0,
  EH_Idle_1,
  EH_FreezeEventMemory_2
}EH_STATE_TYPE;

typedef struct{
 uint8_t EventQualifer;
 uint16_t EventCode;
}EventEntry_TYPE;

typedef  union{
     struct 
     {
          uint8_t StatusCode;
 
         EventEntry_TYPE EventEntrys[6];
         
     }EventMemoryStruct;
     uint8_t Data[19];

 }EventMemory_TYPE;

extern EventMemory_TYPE EventMemory;
extern EH_STATE_TYPE EH_STATE;
 
 
 
void Event_EH_Conf_ACTIVE(void);
void Event_EH_Conf_INACTIVE(void);

void Event_EventRead(void);
 void Init_EH(void);
#endif



 